<script setup>
</script>

<template>
  <div class="detalis">
    <!-- 头部 -->
    <span class="left">
      <slot name="left"></slot>
    </span>
    <span class="text">
      <slot name="text"></slot>
    </span>
    <span class="right">
      <span> <slot name="right"></slot></span>
      <span><slot name="right_a"></slot></span>
    </span>
  </div>
</template>


<style  scoped>
.detalis {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100px;
  line-height: 100px;
}
.right {
  width: 200px;
  text-align: center;
  display: flex;
}
.left {
  width: 200px;
}
.text {
  font-size: 30px;
  flex: 1;
  text-align: center;
}
.right span {
  width: 50%;
}
</style>